home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 11 / Info-Mac_XI_Disc_1.cdr_ / Info-Mac XI Disc 1.cdr / Programs / Disk & File / touchMe 1.1.2 / Guide source / Standard Setup < prev    next >
Encoding:
Text File  |  1997-02-10  |  20.7 KB  |  612 lines  |  [TEXT/ttxt]

  1. ################################
  2. #                                                            
  3. #        File:          Standard Setup                
  4. #                                                            
  5. #        Contains:      Standard Guide Script commands for Apple Guide files
  6. #
  7. #        Coded by:      Glenn Katz    and Shemin Gau
  8. #        Modified by:      Mizutori Tetsuya, January 23, 1997
  9. #
  10. #        Copyright:     ©1994 by Apple Computer, Inc.        
  11. #                                                            
  12. ################################
  13.  
  14. ################################
  15. #    How To Use This File
  16. ################################
  17.  
  18. # This file contains the Guide Script commands needed to setup a guide
  19. # file that follows the Apple Guide HI guidelines.  
  20. #
  21. # This file is part a set of files that you will compile to create your
  22. # guide file.  You will also need:
  23. #
  24. # • Build File - a file that points to all of the related source files
  25. #                that define your guide file.
  26. #
  27. # • Content    - a file that contains the actual text that appears on
  28. #                the guide file panels.  (As your guide file grows, it
  29. #                may be helpful to break the Content file into several
  30. #                smaller files).
  31. #
  32. #    To use this file:
  33. #
  34. #  1.  Edit this file to customize the standard setup for your guide
  35. #      file.  Most of the commands in this file can be used "as is,"
  36. #      but you'll want to change the <Help Menu>, <Balloon Menu Text>,
  37. #     and  <Version> commands to reflect your application's name.
  38. #
  39. #  2.  Edit the Content file to define the content of your guide file.
  40. #
  41. #  3.  Use the Guide Maker Build utility to compile the Build File
  42. #      that points to all of the source files that define your guide
  43. #      file.
  44.  
  45.  
  46. ################################
  47. #    Help Menu Appearance
  48. ################################
  49.  
  50. #    First, you must specify how this guide file will appear in the Help
  51. # menu:  the menu item name, the guide file type, and the command
  52. # key shortcut for quickly opening this file.
  53.  
  54. # Modified by Mizutori
  55. #<Help Menu>    "MyApplication Guide", HELP,"?"
  56.  
  57.  
  58. # You can also specify the text that will appear when balloon help is
  59. # used on this Help menu item.
  60.  
  61. # Modified by Mizutori
  62. #<Balloon Menu Text> "Displays information and instructions you can use while working in the MyApplication."
  63.  
  64.  
  65. # If you want to restrict your guide file so that it only appears
  66. # in the Help menu for your application (and does not appear in the
  67. # Help menu for other applications located in the same folder), use
  68. # the following command.
  69.  
  70. # <App Creator> 'XXXX'
  71.  
  72.  
  73.  
  74. ################################
  75. #    Access Window Attributes
  76. ################################
  77.  
  78. # First, use this command to specify the type of window that Apple Guide 
  79. # should display when your guide file is first opened.
  80. #
  81. # Syntax:  <Startup Window> windowType , accessScreenOptions
  82. #
  83. # This command opens a Full access window (with three search modes - 
  84. # Topics, Index, and Look For) to a welcoming Howdy screen.
  85.  
  86. # Modified by Mizutori
  87. #<Startup Window>    FULL, HOWDY
  88.  
  89. # These are some of the other alternatives:
  90.  
  91. # <Startup Window>    FULL, TOPICS
  92. # <Startup Window>    FULL, INDEX
  93. # <Startup Window>    FULL, LOOKFOR
  94. # <Startup Window>    SINGLE, HOWDY
  95. # <Startup Window>    SINGLE, TOPICS
  96. # <Startup Window>    PRESENTATION
  97.  
  98.  
  99.  
  100. # If you specify a startup window that opens to Howdy screen, you must
  101. # also define the text that will be displayed on that screen.
  102.  
  103. # Modified by Mizutori
  104. #<Howdy>        "Howdy Text"
  105.  
  106. #<Define Text Block>    "Howdy Text"
  107. #To start, click Topics, Index, or Look For. 
  108. #
  109. #Topics shows general categories, and Index lists keywords. 
  110. #Look For lets you search for help according to keywords you type.
  111. #<End Text Block>
  112.  
  113.  
  114.  
  115. # You can also specify a PICT image to be displayed in the logo region
  116. # at the top left corner of the access window.  
  117. #
  118. # Color and B&W templates for the PICT image are included in the
  119. # Standard Resources file (at ID 501 & 502).  To include your PICT
  120. # image in the guide file, replace these resources (at ID 501 & 502)
  121. # in the Standard Resources file, or use this command: 
  122.  
  123. #<App Logo> colorLogoFilename, B&WLogoFilename  
  124.  
  125.  
  126.  
  127. ################################
  128. #    Finder File Information
  129. ################################
  130.  
  131. # The following command specifies the version strings that appear in
  132. # the Finder Get Info dialog for your guide file.
  133. #
  134. # Syntax:  <Version> longVers1BottomOfGetInfo, shortVers1ForFinderListViews
  135. #                    [, longVers2TopOfGetInfo]
  136.  
  137. # Modified by Mizutori
  138. #<VERSION>    "MyApplication Guide 1.0 ©1994 MyCompany Inc.", "1.0"
  139.  
  140.  
  141. ################################
  142. #    Prompt Set Definitions
  143. ################################
  144.  
  145. #    You can specify strings which appear at the bottom of each panel 
  146. # to prompt the user about how to proceed after reading it.   
  147. #
  148. # The following commands create the standard Apple Guide prompts
  149. # recommended in the HI guidelines and used in Macintosh Guide.
  150. #
  151. # Syntax:  <Define Prompt Set> promptSetName, promptFirstPanel,
  152. #                              promptMiddlePanel, promptLastPanel,
  153. #                              promptForPanelsWithControls
  154.  
  155. <Define Prompt Set>    "How Do I Prompts", "To begin, click the right arrow.", "Do this step, then click the right arrow.", "Do this step, then you’re done.", "Make your choice, then click the right arrow."
  156. <Define Prompt Set>    "Standard Prompts", "Click the right arrow to continue.", "Click the right arrow to continue.", "——End——", "Make your choice, then click the right arrow."
  157.  
  158.  
  159.  
  160. # One prompt set can be designated the <Default Prompt Set>. This set will
  161. # be used for all panels, except when you override it by using the 
  162. # <Sequence Prompt Set> or <Panel Prompt> commands. 
  163.  
  164.  
  165. # Modified by Mizutori
  166. #<Default Prompt Set> "How Do I Prompts"
  167. <Default Prompt Set> "Standard Prompts"
  168.  
  169.  
  170.  
  171. ################################
  172. #    Navigation Bar Button Definitions
  173. ################################
  174.  
  175. #    You can specify which buttons appear in the navigation bar for your
  176. # guide file and the event each button should trigger.
  177. #
  178. # The following commands create the standard Apple Guide navigation
  179. # bar buttons recommended in the HI guidelines. These commands use
  180. # PICT resources located in the Standard Resources file.
  181. #
  182. # Syntax:  <Define Nav Button> buttonName, buttonUpPict, buttonDownPict,
  183. #                              dimmedButtonPict, buttonEvent
  184. #                              [, b&wUp] [, b&wDown] [, b&wDimmed]
  185.  
  186.  
  187.  
  188. # The GoStart button returns the user to your guide file's access window 
  189.  
  190. <Define Nav Button>        "GoStart",1103,1113,1123,GoStart()
  191.  
  192.  
  193.  
  194. # The Huh? button opens another sequence containing additional information
  195. # to help the user proceed.  The Huh? button is activated on a panel by
  196. # including the <Huh> command in its panel definition.
  197.  
  198. <Define Nav Button>        "Huh?",1101,1111,1121,DIMMABLE
  199.  
  200.  
  201.  
  202. # For convenience, navigation bar buttons are grouped into named sets.
  203. # "Standard Nav Bar" includes the GoStart and Huh? buttons 
  204. #
  205. # Syntax:  <Define Nav Button Set> navButtonSetName    [, leftNavButton] 
  206. #                                 [, midNavButton] [, rightNavButton]
  207.  
  208. <Define Nav Button Set>        "Standard Nav Bar","GoStart","Huh?"
  209. <Define Nav Button Set>        "GoStart Only","GoStart"
  210. <Define Nav Button Set>        "Huh? Only","Huh?"
  211.  
  212.  
  213.  
  214. # One navigation button set can be designated the <Default Nav Button Set>.
  215. # This set will be used in all sequences, except when you override it
  216. # by including the <Sequence Nav Button Set> command in a sequence definition. 
  217.  
  218. <Default Nav Button Set>    "Standard Nav Bar"
  219.  
  220.  
  221.  
  222. ################################
  223. #    Panel Format Definitions    
  224. ################################
  225.  
  226. # You can use <Format> commands to control the text attributes and
  227. # placement of items on panels in your guide file.
  228. #
  229. # The following commands define the standard formats recommended in
  230. # in the Apple Guide HI guidelines. 
  231. #
  232. # Syntax:  <Define Format> formatName, columnCoords [, txFnt] [, txSize]
  233. #                          [, txStyle] [, txColor] [, txAlign] [, alignPrompt]
  234.  
  235.  
  236.  
  237. # The "Full" format uses the full panel width.  It should be used on panels 
  238. # that don't contain step-by-step instructions.
  239.  
  240. <Define Format>    "Full", Column(6,11,330), "Espy Serif", 10, PLAIN, ,Left, false
  241.     
  242.  
  243.  
  244. # The "Tag" and "Body" formats set up a two column layout.  The "Do This" tags
  245. # used extensively in Macintosh Guide use the "Tag" format.  The instructions
  246. # are placed with the "Body" format.
  247.  
  248. <Define Format>    "Tag", Column(6,0,54), "Espy Sans Bold", 10, PLAIN, ,Right, false
  249. <Define Format>    "Body", Column(6,65,330), "Espy Serif", 10, PLAIN, ,Left, true
  250.  
  251.  
  252.  
  253. # The "ResetPen" format is useful for canceling the previous <Format> command
  254. # in a panel definition.  Use this format when placing objects using the
  255. # Point(x,y) function to specify panel coordinates.
  256.  
  257. <Define Format> "ResetPen",Column(0,0,330), , , , , , false
  258.  
  259.  
  260.  
  261. # One format can be designated as the Default format.  This format will
  262. # be used for all text in your guide file, except when you override it
  263. # by including another <Format>. 
  264.  
  265. <Default Format> "Full"
  266.  
  267.  
  268.  
  269. ################################
  270. #    Panel Height Settings    
  271. ################################
  272.  
  273. # You can specify a maximum panel height to ensure that some piece
  274. # of your application will always be visible beneath the panels.  If
  275. # the elements you include in a panel definition make it taller than
  276. # the maximum height, the content will automatically be split into
  277. # two or more panels.
  278.  
  279. <Max Height>    500
  280.  
  281.  
  282.  
  283. # Apple Guide panels automatically size themselves to be as small as
  284. # possible.  You may want to set both a minimum and maximum panel height
  285. # to keep the panels from resizing  (the Finder Shortcuts guide file 
  286. # uses this effect).  
  287.  
  288. # <Min Height> 300
  289. # <Max Height> 300
  290.  
  291.  
  292.  
  293. ################################
  294. #    Event Definitions    
  295. ################################
  296.  
  297. # You can use the <Define Event> command to define an event function 
  298. # for use with the following commands: <Standard Button>, <3D Button>, 
  299. # <Define Nav Button>, <On Panel Create>, <On Panel Destroy>, 
  300. # <On Panel Show>, and <On Panel Hide>.
  301. #
  302. # The following commands create the Apple Guide API events not built
  303. # into Guide Maker.  These events are used by the standard navigation
  304. # bar buttons.
  305. #
  306. # Syntax:  <Define Event> eventName, targetApp, eventClass, eventID
  307. #                               [, IOPTData] [, optKey] [, optData]
  308.  
  309. <Define Event>    "DoHuh", 's***', 'help', 'dhuh'
  310. <Define Event>    "GoBack", 's***', 'help', 'gobk'
  311. <Define Event>    "GoStart", 's***', 'help', 'stac'
  312.  
  313.  
  314. #    The following commands define some additional events that use the 
  315. # Apple Guide API. You can attach these events to buttons on your
  316. # panels or use the <On Panel Show> command to trigger them when
  317. # the panel is opened.
  318.  
  319. # These events jump to the designated panel (first, last, next, or previous) 
  320. # in the current sequence.  
  321.  
  322. #    <Define Event>    "GoFirst", 's***', 'help', 'gofp'
  323. #    <Define Event>    "GoLast", 's***', 'help', 'golp'
  324. #    <Define Event>    "GoPrevious", 's***', 'help', 'gopp'
  325. #    <Define Event>    "GoNext", 's***', 'help', 'gonp'
  326.  
  327. # This command tells each animation object in the frontmost panel to animate 
  328. # itself.  A QuickTime™ movie is an example of an animation object.
  329.  
  330. #    <Define Event>    "Animate", 's***', 'help', 'paan'
  331.  
  332. # This event closes the frontmost Apple Guide window and passes control to
  333. # the next open Apple Guide window, or quits Apple Guide if no other windows are present.  
  334.  
  335. #    <Define Event>    "QuitFront", 's***', 'help', 'ktop'
  336.  
  337.  
  338. # You can also use the DoScript event to attach any AppleScript to a
  339. # button or any command that uses events. 
  340.  
  341.  
  342.  
  343. ################################
  344. #    Context Check Definitions
  345. ################################
  346.  
  347. #    Context checks are used to dynamically adapt the sequence of panels
  348. # presented to match the context of the user.
  349. #
  350. # The following context check definitions are used in Macintosh Guide 
  351. # and may also be useful for your guide file.  These definitions use
  352. # external code modules located in the Standard Resources file.
  353. #
  354. # Syntax:  <Define Context Check> contextCheckName, codeResSpec [, targetApp] 
  355. #                                 [, additionalParam] [, additionalParam] 
  356. #                                                      [, ... ]
  357.  
  358. #============================================
  359. # From external code module 'SYST' (system)
  360. #============================================
  361.  
  362. # Checking if File Sharing is on or off
  363. #
  364. #     'SYST'--> system module
  365. #     'MACS'--> current application's signature
  366. #     LONG:6--> 6 for case isFileSharing in resource file
  367. #     LONG:0--> off; LONG:1--> on
  368.  
  369. <DCC>    "FileSharingOff", 'SYST', 'MACS', LONG:6, LONG:0
  370. <DCC>    "FileSharingOn", 'SYST', 'MACS', LONG:6, LONG:1
  371.  
  372.  
  373.  
  374. # Checking if Guess Access is off
  375. #
  376. #     'SYST'--> system module
  377. #     'MACS'--> current application's signature
  378. #     LONG:10--> 10 for case isGuessAccess in resource file
  379. #     LONG:0--> fill in words for fill byte
  380.  
  381. <DCC>    "GuestAccessOff", 'SYST', 'MACS', LONG:10, LONG:0
  382.  
  383.  
  384.  
  385. # Checking the bit depth of the monitor
  386. #
  387. #     LONG:8--> 8 for case isMonitorBitDepth in resource file
  388. #     LONG--> 4 for greater than the compared value
  389. #             6 for greater than or equal to the compared value
  390. #             2 for equal to the compared vale
  391. #     LONG--> compared value, you can specify a value here or in the real context check call
  392.  
  393. <DCC>    "BitDepthGreaterThan", 'SYST', 'MACS', LONG:8, LONG:4, LONG
  394. <DCC>    "BitDepthAtLeast", 'SYST', 'MACS', LONG:8, LONG:6, LONG
  395. <DCC>    "isMonoChrome", 'SYST', 'MACS', LONG:8, LONG:2, LONG:1
  396.  
  397.  
  398.  
  399. # Checking the number of monitors
  400. #     LONG:11--> 11 for case isNumberMonitors in resource file
  401. #     LONG:4--> 4 for greater than the compared value
  402. #     LONG:1--> compared value
  403.  
  404. <DCC>    "MultipleMonitors", 'SYST', 'MACS', LONG:11, LONG:4, LONG:1 
  405.  
  406.  
  407.  
  408. # Checking if a menu item exists,or has checked mark
  409. #
  410. #     LONG:1--> 1 for case menuItemExists in resource file
  411. #               2 for case menuItemMarked in resource file
  412. #     LONG:0--> fill in a long for fill byte
  413. #     LONG:10--> 10 for the string parameter matches the menu name
  414. #     LPSTRING--> the string parameter for comparing with menu name
  415. #     LONG--> 10 for the string parameter matches the menu item name
  416. #             8 for the string parameter contains anything
  417. #     LPSTRING--> the string parameter for comparing with menu item name
  418.  
  419. <DCC>     "IsMenuExists", 'SYST', 'MACS', LONG:1, LONG:0, LONG:10, LPSTRING, LONG:8, LPSTRING
  420. <DCC>     "IsMenuItemExists", 'SYST', 'MACS', LONG:2, LONG:0, LONG:10, LPSTRING, LONG:10, LPSTRING
  421. <DCC>     "IsMenuItemChecked", 'SYST', 'MACS', LONG:2, LONG:0, LONG:10, LPSTRING, LONG:10, LPSTRING
  422. <DCC>     "CDMenuItemExists", 'SYST', 'aucd', LONG:2, LONG:0, LONG:10, LPSTRING, LONG:10, LPSTRING
  423.  
  424.  
  425.  
  426. # Checking the processor type
  427. #
  428. #     LONG:0--> for case gestaltCheck in resource file
  429. #     OSTYOE:'proc'--> the Gestalt selector you want to use, in this case, it's 'proc'
  430. #     LONG--> 5 for less than; 7 for less than or equal to; 3 for not equal to; 2 for equal to
  431. #     SHORT:0--> fill in a short for fill byte
  432. #     LONG--> gestalt compare value
  433.  
  434. <DCC>    "CPUIs68040",  'SYST', 'MACS', LONG:0, OSTYPE:'proc', LONG:5, SHORT:0, LONG:2
  435. <DCC>    "CPU030orGreater",  'SYST', 'MACS', LONG:0, OSTYPE:'proc', LONG:6, SHORT:0, LONG:4
  436. <DCC>    "CPU68kArch",  'SYST', 'MACS', LONG:0, OSTYPE:'proc', LONG:7, SHORT:0, LONG:5
  437. <DCC>    "CPUIs68000",  'SYST', 'MACS', LONG:0, OSTYPE:'proc', LONG:3, SHORT:0, LONG:5
  438. <DCC>    "CPU1bitQD",  'SYST', 'MACS', LONG:0, OSTYPE:'qd  ', LONG:2, SHORT:0, LONG:0x000
  439.  
  440.  
  441.  
  442. # Others
  443.  
  444. <DCC>    "NetworkName", 'SYST', 'MACS', LONG:9, LONG:0, LONG:8
  445.  
  446.  
  447.  
  448. #============================================
  449. # From external code module 'File' 
  450. #============================================
  451.  
  452. # Checking if a named file is in a special type folder, for instances: 
  453. # Extensions, Apple Menu Folder, and so on
  454. #
  455. #     'FILE'--> file module
  456. #     'MACS'--> current application's signature
  457. #     LONG:9--> 9 for case isFileExists in resource file
  458. #     OSTYPE:'extn'--> specify the type of file; if it's an init indicate 'extn'; 
  459. #                      if it's a control panel indicate 'ctrl', and so on.
  460. #     LONG:0--> fill in a long for fill byte
  461. #     LPSTRING--> will be the name of the file you want to check
  462. #     example usage: InControlPanelFolder("Sharing Setup")
  463.  
  464. <DCC>    "InExtensions",  'FILE', 'MACS', LONG:9, OSTYPE:'extn', LONG:0, LPSTRING
  465. <DCC>    "InSystemFolder", 'FILE', 'MACS', LONG:9, OSTYPE:'macs', LONG:0, LPSTRING
  466. <DCC>    "InAppleMenuFolder",  'FILE', 'MACS', LONG:9, OSTYPE:'amnu', LONG:0, LPSTRING
  467. <DCC>    "InControlPanelFolder", 'FILE', 'MACS', LONG:9, OSTYPE:'ctrl', LONG:0, LPSTRING
  468. <DCC>    "AppleShareInstalled",  'FILE', 'MACS', LONG:9, OSTYPE:'extn', LONG:0, LPSTRING:"AppleShare"
  469. <DCC>    "PrintMonitorInstalled",  'FILE', 'MACS', LONG:9, OSTYPE:'extn', LONG:0, LPSTRING:"PrintMonitor"
  470. <DCC>    "GXInstalled",  'FILE', 'MACS', LONG:9, OSTYPE:'extn', LONG:0, LPSTRING:"QuickDraw™ GX"
  471. <DCC>    "RamDiskExists", 'FILE', 'MACS', LONG:9, OSTYPE:'desk', LONG:0, LPSTRING:"Ram Disk"
  472.  
  473.  
  474. #     'FILE'--> file module
  475. #     'MACS'--> current application's signature
  476. #     LONG:0--> for case isFrontStartUp in resource file
  477.  
  478. <DCC>    "BootDiskWinActive", 'FILE', 'MACS', LONG:0
  479.  
  480.  
  481.  
  482. #     'FILE'--> file module
  483. #     'MACS'--> current application's signature
  484. #      LONG:1--> for case isOpenStartUp in resource file
  485.  
  486. <DCC>    "BootDiskWinOpen", 'FILE', 'MACS', LONG:1
  487.  
  488.  
  489.  
  490. # Others
  491.  
  492. <DCC>    "ControlPanelWinActive", 'FILE', 'MACS', OSTYPE:'ctrl', LONG:0
  493. <DCC>    "SystemFolderWinActive", 'FILE', 'MACS', OSTYPE:'macs', LONG:0
  494. <DCC>    "AppleMenuWinActive",  'FILE', 'MACS', OSTYPE:'amnu', LONG:0
  495. <DCC>    "ExtensionsWinActive",  'FILE', 'MACS', OSTYPE:'extn', LONG:0
  496. <DCC>    "AppleMenuWinOpen",  'FILE', 'MACS', OSTYPE:'amnu', LONG:1
  497. <DCC>    "ExtensionsWinOpen",  'FILE', 'MACS', OSTYPE:'extn', LONG:1
  498.  
  499.  
  500.  
  501. #============================================
  502. # From external code module 'WIND' (window)
  503. #============================================
  504.  
  505. # Checking if a named window is open or active
  506. #     'WIND'--> window module
  507. #     'MACS'--> current application's signature, if do not specify 
  508. #               the signature here, you'll need to specify it in the 
  509. #               actual context check call
  510. #     LONG:-->  0 for case isFront in resource file, which means the 
  511. #                    window is the frontmost (active) one
  512. #               1 for case isOpen in resource file, which means the window is open
  513. #               3 for case isShareWindowActive
  514. #     LONG:0--> fill in a long for fill byte
  515. #     LONG:--> 10 for the window name exactly matches the string parameter
  516. #              11 for window name contains the string parameter
  517. #              8  for window name contains any string parameter
  518. #     LPSTRING--> will be the name of the window you want to check
  519. #     example usage: OpenWindow('MACS',"Sharing Setup")
  520.  
  521. <DCC>    "OpenWindow", 'WIND', , LONG:1, LONG:0, LONG:10, LPSTRING
  522. <DCC>    "OpenWindowIsInfo", 'WIND','MACS', LONG:1, LONG:0, LONG:11, LPSTRING:"Info"
  523. <DCC>    "ActiveWindow", 'WIND', , LONG:0, LONG:0, LONG:10, LPSTRING
  524. <DCC>    "ActiveWindowIsInfo", 'WIND','MACS', LONG:0, LONG:0, LONG:11, LPSTRING:"Info"
  525. <DCC>    "AnyActiveWindow", 'WIND','MACS', LONG:0, LONG:0, LONG:8
  526. <DCC>    "ActiveWindowIsSharing" , 'WIND', 'MACS', LONG:3
  527.  
  528.  
  529.  
  530. # Others
  531.  
  532. <DCC>    "FindActive", 'WIND', 'MACS', LONG:3
  533. <DCC>    "FindMoreActive", 'WIND', 'MACS', LONG:4
  534.  
  535.  
  536.  
  537. #============================================
  538. # From external code module 'CHSR' (chooser)
  539. #============================================
  540.  
  541. #     'CHSR'--> chooser module
  542. #     'MACS'--> current application's signature
  543. #     LONG:4 --> for case isPrinterType in resource file
  544. #     LONG:0--> fill in a long for fill byte
  545. #     LONG:10--> the string parameter matches the printer name
  546. #     LPSTRING --> the name of the printer you want to check
  547.  
  548. <DCC>    "SelectedPrinter", 'CHSR', 'MACS', LONG:4, LONG:0, LONG:10, LPSTRING
  549.  
  550.  
  551.  
  552. #     LONG:0 --> for case isPrinterDirect in resource file
  553.  
  554. <DCC>    "DirectConnectPrinter", 'CHSR', 'MACS', LONG:0
  555.  
  556.  
  557.  
  558. # Others
  559.  
  560. <DCC>    "AppleTalkOff", 'CHSR', 'MACS', LONG:5, LONG:0
  561. <DCC>    "NetworkPrinter", 'CHSR', 'MACS', LONG:1, LONG:6, LONG:1
  562. <DCC>    "NetworkHasZones", 'CHSR', 'MACS', LONG:9
  563. <DCC>    "NoSelectedPrinter", 'CHSR', 'MACS', LONG:4, LONG:0, LONG:9, LPSTRING
  564.  
  565.  
  566.  
  567. #============================================
  568. # From external code module 'PCSS' (process)
  569. #============================================
  570.  
  571. #     'PCSS'--> process module
  572. #     'MACS'--> pass 'MACS'
  573. #     LONG--> 0 for the specified app is active; 1 for the window(s) 
  574. #                   of the specified app is active
  575. #     OSTYPE--> pass the application's signature 
  576. #     example usage: ActiveAppIs('fndf')
  577.  
  578. <DCC>    "ActiveAppIs",'PCSS','MACS', LONG:0,OSTYPE
  579. <DCC>    "OpenAppIs",'PCSS','MACS', LONG:1,OSTYPE
  580.  
  581.  
  582.  
  583. #============================================
  584. # From external code module 'DLOG' (dialog)
  585. #============================================
  586.  
  587. <DCC>    "ActiveDialog", 'DLOG', 'MACS', LONG:0, LONG
  588. <DCC>    "AnyActiveDialog", 'DLOG', 'aucd', LONG:5
  589.  
  590.  
  591.  
  592. #============================================
  593. # From external code module 'DTPr' (desktop printer)
  594. #============================================
  595.  
  596. <DCC>    "IsThereDTPrinter", 'DTPr',FRONT
  597.  
  598.  
  599.  
  600. #============================================
  601. # From external code module 'Pddm' (PDD maker)
  602. #============================================
  603.  
  604. <DCC>    "IsItPDDMaker", 'Pddm', FRONT, PSTRING
  605.  
  606.  
  607.  
  608.  
  609.  
  610.